package com.gvt.vo;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Database implements Serializable{
	private String type;
	private String driverClass;
	private String url;
	private String username;
	private String password;
	private String transaction;
	private String filePath;
	
	public Database() {
		super();
	}
	public Database(String type, String driverClass, String url,
			String username, String password, String transaction,
			String filePath) {
		super();
		this.type = type;
		this.driverClass = driverClass;
		this.url = url;
		this.username = username;
		this.password = password;
		this.transaction = transaction;
		this.filePath = filePath;
	}
	
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getDriverClass() {
		return driverClass;
	}
	public void setDriverClass(String driverClass) {
		this.driverClass = driverClass;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getTransaction() {
		return transaction;
	}
	public void setTransaction(String transaction) {
		this.transaction = transaction;
	}
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String toString() {
		return type + "\t" +
				driverClass + "\t" + 
				url + "\t" +
				username + "\t" +
				password + "\t" +
				transaction + "\t" +
				filePath;
	}
	
}
